package cn.jaye.fabric.common.constants.exception;

import cn.jaye.fabric.common.model.BaseException;

/**
 * @author Jaye
 * @create 2018-05-11 10:11
 */
public enum OrgExceptionEnum implements BaseException {
    NO_DATA(1100, "获取组织信息失败");

    private Integer code;
    private String msg;

    OrgExceptionEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    @Override
    public Integer getCode() {
        return code;
    }

    @Override
    public String getMsg() {
        return msg;
    }

}
